<template>
  <div>
      <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>相关搜索</span>
          </div>
          <div v-for="o in 4" :key="o" class="text item">
            {{ "列表内容 " + o }}
          </div>
        </el-card>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped lang="less">
 .text {
    font-size: 12px;
  }

  .item {
    margin-top: 2px;
    margin-bottom: 1px;
    height: 20px;
  }

  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
  }
  .clearfix:after {
    clear: both
  }

  .box-card {
    background: rgb(255, 251, 251);
  
  }
  .clearfix {
    font-size: 18px;
  }
  /deep/.el-card__header {
    padding: 2px 2px;
  }

</style>